﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace StorageInterface
{
    sealed class ErrorHandler
    {

        /// <summary>
        /// Handles the error and shows a message box.
        /// </summary>
        /// <param name="modName">
        /// Module name, in which the error has occurred.
        /// </param>
        /// <param name="funcName">
        /// Function name, in which the error has occurred.
        /// </param>
        /// <param name="ex">
        /// The exception generated in the described function of the described module.
        /// </param>
        public static void HandleError(string msg)
        {

            MessageBox.Show(msg, "Мой склад", MessageBoxButton.OK, MessageBoxImage.Error);
        }

    }
}
